package cn.com.chengmandian.erp.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * ERP系统-业务订单发货表
 * </p>
 *
 * @author AutoGenerator
 */
@Getter
@Setter
@TableName("erp_order_deliver")
@ApiModel(value = "ErpOrderDeliver对象", description = "ERP系统-业务订单发货表")
public class ErpOrderDeliver implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("关联订单ID")
    private Integer orderId;

    @ApiModelProperty("发货状态 1-运输中 2-已签收")
    private Integer status;

    @ApiModelProperty("发货时间")
    private Date sendTime;

    @ApiModelProperty("发货时间")
    private Integer sendAmount;

    @ApiModelProperty("剩余发货数量")
    private Integer balanceAmount;

    @ApiModelProperty("电池型号")
    private String batteryModel;

    @ApiModelProperty("电池协议")
    private String batteryProtocol;

    @ApiModelProperty("接插口")
    private String batterySocket;

    @ApiModelProperty("外壳颜色")
    private String batteryColor;

    @ApiModelProperty("车架型号订单 业务类型5 使用此字段")
    private String bikeModel;

    @ApiModelProperty("车架数量 业务类型5 使用此字段")
    private Integer bikeAmount;

    @ApiModelProperty("运营仓库 订单业务类型为1填写")
    private Integer warehouseId;

    @ApiModelProperty("收货地址")
    private String address;

    @ApiModelProperty("交货联系人")
    private String contractName;

    @ApiModelProperty("交货联系人电话")
    private String contractPhone;

    @ApiModelProperty("签收时间")
    private Date signTime;

    @ApiModelProperty("签收附件，多文件上传，逗号隔开")
    private String signFile;

}
